package com.ding.easycontroller.file;

import com.ding.easycontroller.work.WebSocket;

import java.util.List;

public interface WebSocketFile {//自动进行初始化

    void add(WebSocket webSocket);

    //移除一个controller
    void removeById(String id);

    //列出所有controller
    List<WebSocket> listAll();

    void update(WebSocket websocket);
}
